package avicit.bdp.dms.das.dto;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.Id;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2020-06-24 14:54
 * @类说明：bdp_das_link
 * @修改记录：
 */
@ApiModel(value = "BdpDasBusinessLinkDTO", description = "bdp_das_business_link")
@Table(name = "bdp_das_business_link")
public class BdpDasBusinessLinkDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Id
    @LogField
    @ApiModelProperty(value = "id", name = "id")
    @FieldRemark(column = "id", field = "id", name = "主键")
    @javax.persistence.Id
    @Column(name = "id")
    private String id;

    @LogField
    @ApiModelProperty(value = "名称", name = "name")
    @FieldRemark(column = "name", field = "name", name = "名称")
    @Column(name = "name")
    private String name;

    /**
     * 源业务对象ID
     */
    @LogField
    @ApiModelProperty(value = "源业务对象ID", name = "sourceBusinessId")
    @FieldRemark(column = "source_business_id", field = "sourceBusinessId", name = "源业务对象ID")
    @Column(name = "source_business_id")
    private String sourceBusinessId;

    /**
     * 目标业务对象ID
     */
    @LogField
    @ApiModelProperty(value = "目标业务对象ID", name = "targetBusinessId")
    @FieldRemark(column = "target_business_id", field = "targetBusinessId", name = "目标业务对象ID")
    @Column(name = "target_business_id")
    private String targetBusinessId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSourceBusinessId() {
        return sourceBusinessId;
    }

    public void setSourceBusinessId(String sourceBusinessId) {
        this.sourceBusinessId = sourceBusinessId;
    }

    public String getTargetBusinessId() {
        return targetBusinessId;
    }

    public void setTargetBusinessId(String targetBusinessId) {
        this.targetBusinessId = targetBusinessId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
